package org.zhouhe.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * KeywordRecommended entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "keyword_recommended", catalog = "zpd0t1_db")
public class KeywordRecommended implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = -7024031446487577113L;
	private Integer keywordRecommendedId;
	private String words;
	private Integer orderId;

	// Constructors

	/** default constructor */
	public KeywordRecommended() {
	}

	/** minimal constructor */
	public KeywordRecommended(String words) {
		this.words = words;
	}

	/** full constructor */
	public KeywordRecommended(String words, Integer orderId) {
		this.words = words;
		this.orderId = orderId;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "keyword_recommended_id", unique = true, nullable = false)
	public Integer getKeywordRecommendedId() {
		return this.keywordRecommendedId;
	}

	public void setKeywordRecommendedId(Integer keywordRecommendedId) {
		this.keywordRecommendedId = keywordRecommendedId;
	}

	@Column(name = "words", nullable = false, length = 64)
	public String getWords() {
		return this.words;
	}

	public void setWords(String words) {
		this.words = words;
	}

	@Column(name = "order_id")
	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

}